<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="es"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"      
      xmlns:f="http://java.sun.com/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
        <h:outputStylesheet name="session.css" library="css"/>    
        <title><h:outputText value="#{default.title}"/></title>                  
    </h:head>

    <h:body>
        <!-- CARGA ARCHIVO DE PROPIEDADES PARA MENSAJES-->                
                  
        <div id="contenedor">
            <!--HEADER-->
            <div id="topsession">
                <ui:insert name="topsession">                
                </ui:insert>     
            </div>
            <!--CONTENIDO-->
            <div id="contentsession">
                <ui:insert name="contentsession">    
                    <div id="login_user">                    
                        <h:form>  
                            <h:panelGrid columns="3">  
                                <f:facet name="header">  
                                    #{default.header} 
                                </f:facet>                                  
                                <h:outputLabel for="user" value="#{default.idUser}"/>  
                                <h:inputText id="user" required="true"/>             
                                <h:message for="name" errorClass="invalid"/>

                                <h:outputLabel for="pass" value="#{default.password}" />  
                                <h:inputSecret id="pass" required="true"/>                                                                
                                <h:message for="pass" errorClass="invalid"/>

                                <p>
                                    <h:commandButton id="loggin"  value="#{default.loggin}" styleClass="botonsession" />                                      
                                </p>
                            </h:panelGrid>                    
                        </h:form>                                           
                    </div>
                </ui:insert>
            </div>            
            <div id="footersession">                
                #{default.footer}                  
            </div>
        </div>
    </h:body>
</html>